[INFO] cloning repository https://github.com/quorauk/arduino-audio-meter
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quorauk/arduino-audio-meter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquorauk%2Farduino-audio-meter", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquorauk%2Farduino-audio-meter'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a18d32b89ad0fd46940213a8dedfa132d8045590
[INFO] building quorauk/arduino-audio-meter against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquorauk%2Farduino-audio-meter" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/quorauk/arduino-audio-meter on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/quorauk/arduino-audio-meter
[INFO] finished tweaking git repo https://github.com/quorauk/arduino-audio-meter
[INFO] tweaked toml for git repo https://github.com/quorauk/arduino-audio-meter written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/quorauk/arduino-audio-meter already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f82b5f3a1652e3b50db758997831cbdb90e38cd977e97975fc0b26771deeb320
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f82b5f3a1652e3b50db758997831cbdb90e38cd977e97975fc0b26771deeb320", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f82b5f3a1652e3b50db758997831cbdb90e38cd977e97975fc0b26771deeb320", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f82b5f3a1652e3b50db758997831cbdb90e38cd977e97975fc0b26771deeb320", kill_on_drop: false }`
[INFO] [stdout] f82b5f3a1652e3b50db758997831cbdb90e38cd977e97975fc0b26771deeb320
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 086f2f75f467a759d8c370109c626fd1eae66543b1e0f233938b1cb0aba83cb3
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "086f2f75f467a759d8c370109c626fd1eae66543b1e0f233938b1cb0aba83cb3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.58
[INFO] [stderr]    Compiling pkg-config v0.3.14
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling winapi v0.3.7
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling libudev v0.2.0
[INFO] [stderr]    Compiling serialport v3.3.0
[INFO] [stderr]    Compiling vmu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/windows.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::objbase::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/windows.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::mmdeviceapi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/windows.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::endpointvolume::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::shared`
[INFO] [stdout]  --> src/windows.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::shared::*;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::Interface`
[INFO] [stdout]  --> src/windows.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::Interface;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ no `Interface` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `guiddef`
[INFO] [stdout]   --> src/windows.rs:10:30
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let cls_mm_device_enum : guiddef::GUID = CLSID_MMDeviceEnumerator;
[INFO] [stdout]    |                              ^^^^^^^ use of undeclared crate or module `guiddef`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IMMDeviceEnumerator`
[INFO] [stdout]   --> src/windows.rs:11:37
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let iid_imm_device_enumerator = IMMDeviceEnumerator::uuidof();
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^ use of undeclared type `IMMDeviceEnumerator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/windows.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 |         winapi::um::combaseapi::CoCreateInstance(&cls_mm_device_enum,
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wtypesbase`
[INFO] [stdout]   --> src/windows.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |             wtypesbase::CLSCTX_INPROC_SERVER,
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared crate or module `wtypesbase`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi`
[INFO] [stdout]   --> src/windows.rs:21:58
[INFO] [stdout]    |
[INFO] [stdout] 21 | ...                   as *mut *mut winapi::ctypes::c_void);
[INFO] [stdout]    |                                            ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/windows.rs:27:38
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut pp_device : *mut winapi::um::mmdeviceapi::IMMDevice = unsafe { std::mem::zeroed() }; 
[INFO] [stdout]    |                                      ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/windows.rs:30:21
[INFO] [stdout]    |
[INFO] [stdout] 30 |             winapi::um::mmdeviceapi::eCapture,
[INFO] [stdout]    |                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/windows.rs:31:21
[INFO] [stdout]    |
[INFO] [stdout] 31 |             winapi::um::mmdeviceapi::eCommunications,
[INFO] [stdout]    |                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IAudioMeterInformation`
[INFO] [stdout]   --> src/windows.rs:39:40
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let cls_iaudio_meter_information = IAudioMeterInformation::uuidof();
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `IAudioMeterInformation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wtypesbase`
[INFO] [stdout]   --> src/windows.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |             wtypesbase::CLSCTX_INPROC_SERVER,
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared crate or module `wtypesbase`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/windows.rs:48:52
[INFO] [stdout]    |
[INFO] [stdout] 48 |             &mut input_device as *mut *mut winapi::um::endpointvolume::IAudioMeterInformation
[INFO] [stdout]    |                                                    ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi`
[INFO] [stdout]   --> src/windows.rs:49:54
[INFO] [stdout]    |
[INFO] [stdout] 49 | ...                   as *mut *mut winapi::ctypes::c_void); 
[INFO] [stdout]    |                                            ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:21:78
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn connected(port : &mut serialport::SerialPort, input_device : *mut winapi::um::endpointvolume::IAudioMeterInformation) {
[INFO] [stdout]    |                                                                              ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMMDeviceEnumerator` in this scope
[INFO] [stdout]  --> src/windows.rs:9:36
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn get_device_enumerator() -> *mut IMMDeviceEnumerator {
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CLSID_MMDeviceEnumerator` in this scope
[INFO] [stdout]   --> src/windows.rs:10:46
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let cls_mm_device_enum : guiddef::GUID = CLSID_MMDeviceEnumerator;
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMMDeviceEnumerator` in this scope
[INFO] [stdout]   --> src/windows.rs:13:38
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut device_enumerator : *mut IMMDeviceEnumerator = unsafe { std::mem::zeroed() };
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMMDeviceEnumerator` in this scope
[INFO] [stdout]   --> src/windows.rs:20:49
[INFO] [stdout]    |
[INFO] [stdout] 20 |             &mut device_enumerator as *mut *mut IMMDeviceEnumerator
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMMDeviceEnumerator` in this scope
[INFO] [stdout]   --> src/windows.rs:26:44
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn get_imm_device(device_enumerator : *mut IMMDeviceEnumerator) -> *mut IMMDevice {
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMMDevice` in this scope
[INFO] [stdout]   --> src/windows.rs:26:73
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn get_imm_device(device_enumerator : *mut IMMDeviceEnumerator) -> *mut IMMDevice {
[INFO] [stdout]    |                                                                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMMDevice` in this scope
[INFO] [stdout]   --> src/windows.rs:38:50
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn get_iaudio_meter_information(pp_device : *mut IMMDevice) -> *mut IAudioMeterInformation {
[INFO] [stdout]    |                                                  ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IAudioMeterInformation` in this scope
[INFO] [stdout]   --> src/windows.rs:38:69
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn get_iaudio_meter_information(pp_device : *mut IMMDevice) -> *mut IAudioMeterInformation {
[INFO] [stdout]    |                                                                     ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IAudioMeterInformation` in this scope
[INFO] [stdout]   --> src/windows.rs:41:33
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let mut input_device : *mut IAudioMeterInformation = unsafe { std::mem::zeroed() };
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IAudioMeterInformation` in this scope
[INFO] [stdout]   --> src/windows.rs:54:46
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn get_audio_meter_information() -> *mut IAudioMeterInformation {
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitialize` in this scope
[INFO] [stdout]   --> src/windows.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 55 |     unsafe { CoInitialize(std::ptr::null_mut()) };
[INFO] [stdout]    |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMMDeviceEnumerator` in this scope
[INFO] [stdout]   --> src/windows.rs:56:34
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let device_enumerator : *mut IMMDeviceEnumerator = get_device_enumerator();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IMMDevice` in this scope
[INFO] [stdout]   --> src/windows.rs:57:26
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let pp_device : *mut IMMDevice = get_imm_device(device_enumerator);
[INFO] [stdout]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:21:26
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn connected(port : &mut serialport::SerialPort, input_device : *mut winapi::um::endpointvolume::IAudioMeterInformation) {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn serialport::SerialPort`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 31 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `vmu`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "086f2f75f467a759d8c370109c626fd1eae66543b1e0f233938b1cb0aba83cb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "086f2f75f467a759d8c370109c626fd1eae66543b1e0f233938b1cb0aba83cb3", kill_on_drop: false }`
[INFO] [stdout] 086f2f75f467a759d8c370109c626fd1eae66543b1e0f233938b1cb0aba83cb3
